package com.bosssoft.permission.centre.service;

import com.bosssoft.permission.centre.entity.Role;
import com.bosssoft.permission.centre.pojo.vo.ResourceVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
import com.bosssoft.permission.centre.entity.User;
/**
 * @Author: wang
 * @Time: 2022/3/18
 */
@Service
public interface LoginService {
    //登录
    public int verification(String code, String password, String account);

    public User getUserInfo(String code, String account);

    public List<Role> getRolesByUserId(Long userId);

    public List<ResourceVO> getResourceVO(List<Role> roles);
}
